#!/bin/bash
# 通过用户态模拟器 qemu-riscv64 运行编译出的目标文件（RISCV/Linux）
qemu-riscv64 target/riscv64gc-unknown-none-elf/release/00power_3
qemu-riscv64 target/riscv64gc-unknown-none-elf/release/01power_5
qemu-riscv64 target/riscv64gc-unknown-none-elf/release/02power_7

# qemu 不支持 yield syscall
# qemu-riscv64 target/riscv64gc-unknown-none-elf/release/03sleep

qemu-riscv64 target/riscv64gc-unknown-none-elf/release/04load_fault
qemu-riscv64 target/riscv64gc-unknown-none-elf/release/05store_fault
